package com.haikesi.api.mode.domain.vo;

import com.haikesi.api.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class ModeSetVO extends BaseEntity {

    @ApiModelProperty(value = "设置的模式Id")
    @NotNull(message = "模式ID不能为空格")
    private String id;

    @ApiModelProperty(value = "模式绑定下设备控制")
    @NotNull(message = "控制不能为空")
    List<ModeDeviceVO> deviceList;

}